<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>管理员控制</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" href="./?/file&name=base.min.css">
    <link rel="icon" href="./?/file&name=logo.png">
    {CSS}
</head>
<body>
<div class="content">
    <div class="content-heading">
        <div class="container">
            <h2 class="text-center heading">管理员控制</h2>
        </div>
    </div>
    <div class="container">
        <h3 class="content-sub-heading">请选择一个管理选项</h3>
        <p><a class="btn btn-flat waves-button waves-effect waves-light" id="removeAdmin">移除超级管理员权限</a></p>
        <p><a href="./?/settings" class="btn btn-flat waves-button waves-effect waves-light">程序管理</a></p>
        <p><a href="./?/banIP" class="btn btn-flat waves-button waves-effect waves-light">封禁IP设置</a></p>
        <p><a href="./?/banWord" class="btn btn-flat waves-button waves-effect waves-light">封禁词库设置</a></p>
        <p><a href="./?/visitLog" class="btn btn-flat waves-button waves-effect waves-light">IP访问记录</a></p>
    </div>
</div>

<div class="footer">
    <p>Developed by SCH</p>
    <p>Chat-Lite {VERSION}<br>Running with PHP {PHPVERSION}</p>
</div>

<a id="open-modal" data-toggle="modal" href="#name-modal"></a>
<div aria-hidden="true" class="modal fade" id="name-modal" role="dialog" tabindex="-1">
    <div class="modal-dialog modal-xs">
        <div class="modal-content">
            <div class="modal-heading">
                <a class="modal-close" data-dismiss="modal">&times;</a>
                <h2 class="modal-title">修改昵称</h2>
            </div>
            <div class="modal-inner">
                <div class="form-group">
                    <div class="row">
                        <div class="col">
                            <label class="form-label" for="input-name">输入昵称：</label>
                        </div>
                        <div class="col">
                            <input class="form-control" id="input-name" type="text">
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <p class="text-right">
                    <button class="btn btn-flat btn-alt" data-dismiss="modal" type="button" id="modal-cancel">取消</button>
                    <button class="btn btn-flat btn-alt" id="save-name">确定</button>
                </p>
            </div>
        </div>
    </div>
</div>
<div>
    <button onclick="history.back();" style="position: fixed;top: 0;left: 0;z-index: 999;" class="btn btn-lg waves-button waves-effect waves-light"><span class="fa fa-arrow-left fa-2x"></span></button>
    <button id="back" onclick="window.open(`./?/`,`_self`)" style="position: fixed;top: 0;left: 84px;z-index: 999;" class="btn btn-lg waves-button waves-effect waves-light"><span class="fa fa-home fa-2x"></span></button>
    <button id="refresh" onclick="location.reload()" style="position: fixed;top: 0;left: 168px;z-index: 999;" class="btn btn-lg waves-button waves-effect waves-light"><span class="fa fa-refresh fa-2x"></span></button>
</div>
{SetColor}
<script src="./?/file&name=jquery.min.js"></script>
<script src="./?/file&name=jquery.cookie-1.4.1.min.js"></script>
<script src="./?/file&name=base.min.js"></script>
<script src="./?/file&name=SetColor.js"></script>
{JS}
</body>
</html>